package com.dd.edu.rabbitmqboot.model;


import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Order {
    public static final String STATUS_WAIT_PAY = "0";
    public static final String STATUS_PAY_SUCCESS = "1";
    public static final String STATUS_TIMEOUT = "-1";

    private String orderNo;
    private String shopName;
    private BigDecimal shopAmount;
    private Date orderDate;
    private String orderStatus;
    private String failDesc;

    public Order(String orderNo, String shopName, BigDecimal shopAmount, Date orderDate, String orderStatus) {
        this.orderNo = orderNo;
        this.shopName = shopName;
        this.shopAmount = shopAmount;
        this.orderDate = orderDate;
        this.orderStatus = orderStatus;
    }
}
